﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CommonLib.Pattern;
public class EPChainController : PatternChainController
{
	
	public EPChainController() { }
	protected override IChainNode InitChain()
	{
		IChainNode eo_node = new EPChainNodeEscapeOther();
		IChainNode ao_node = new EPChainNodeAttackOther();
		IChainNode if_node = new EPChainNodeItemForward();
		IChainNode ne_node = new EPChainNodeNone();

		eo_node.SetNextNode(ao_node);
		ao_node.SetNextNode(if_node);
		if_node.SetNextNode(ne_node);
		return eo_node;
	}
}
